Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference
prepareObjectName
This function enforces naming standards when creating new dynamic objects and writing them to the Repository. All saves pass through this function.
You can create a customized version of this function using the prescribed method of customizing managers.
Location: ry\app\rydesmngrp.i Parameters:INPUT pcObjectName AS CHARACTERThe suggested base name of the object, required if
pcActionis SAVE.INPUT pcResultCode AS CHARACTERThe result code for a customized object.
INPUT pcObjectString AS CHARACTERAn optional string that can pass additional info. Reserved for future use.
INPUT pcAction AS CHARACTERThe type of action requested. SAVE means the object name is being saved to the Repository. DEFAULT means that a default object name is requested.
INPUT pcObjectType AS CHARACTERThe object type being saved.
INPUT pcEntityName AS CHARACTERThe object’s entity mnemonic, required if
pcActionis DEFAULT.INPUT pcProductModule AS CHARACTERThe product module for the object, required if
pcActionis SAVE.OUTPUT pcNewObjectName AS CHARACTERThe new object name. This field must be unique, nonblank, and not null.
OUTPUT pcNewObjectExt AS CHARACTERThe object extension, if required.
Returns: CHARACTER Notes: TheInsertObjectMasterprocedure calls this function usingpcAction= 'Save'. The ObjectGenerator calls this function usingpcAction= 'Default'. The AppBuilder Save dialog box calls this function usingpcAction= 'Default'. Examples: See theinsertObjectMasterprocedure inry\app\rydesmngrp.i.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |